﻿<%@ Page Title="" Language="C#" MasterPageFile="~/IndexMaster.Master" AutoEventWireup="true" CodeBehind="IndexResult.aspx.cs" Inherits="EHTSaleManager.IndexResult" %>
<%@ Register Src="~/UIAdmin/Control/PaggingControl.ascx" TagName="PaggingControl"
    TagPrefix="EHT" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Contentmain" runat="server">
    <table class="default" cellspacing="0" cellpadding="0" border="0" width="100%">
			<tr>
				<td align="left" valign="top">
                <table class="shop" cellspacing="0" cellpadding="0" border="0" width="100%">
					<tr>
						<td></td>
                        <td>
                         <table cellspacing="0" cellpadding="0" border="0" width="100%">
							<tr style="width:100%" class="list_shop">
								<td style="width:100%" valign="top" colspan="5">
                                <div style="width:100%" id="shopheader_red" style="background:#ff6600">
                                    
                                </div>                                                                        
                                </td>
							</tr>
                            <tr>
								<td class="pic_shop" valign="top" colspan="5">  
                                    <p align="left" style="padding-left:20px; color:red"><asp:Literal ID="ltrmessage" runat="server"></asp:Literal></p>                             
                                    <asp:DataList ID="dtlProductList" runat="server" RepeatDirection="Horizontal" RepeatColumns="2" >   
                                        <ItemTemplate>
                                            <table border="0" cellspacing="0" cellpadding="0" width="100%" class="listlarge_shop">
                                    <tr>
                                        <td align="left" valign="top" width="289px">
                                            <table cellpadding="0" cellspacing="0" width="100%" border="0" height="120px" style="background:url(../images/prodbg.png) no-repeat bottom;margin-bottom:10px;margin-top:10px;">
                                                <tr>
                                                    <td valign="top" width="120px" height="110px" align="center">
                                                        <div style="padding-left:0px;"><asp:Image ID="ImagProduct" ImageUrl='<%#Eval("PictureUrl")%>' runat="server" width="100" height="79" border="0" align="middle" alt="Flettet fat Ø=40 cm"/>
                                                            <a class="shop">
                                                                                                                                
                                                            </a>
                                                        &nbsp;&nbsp;</div>
                                                    </td>
                                                    <td valign="top">
                                                        <div id="8593058">
                                                            <div id="prodgroup">
                                                                <asp:TextBox ID="txtProID" runat="server" Text = '<%#Eval("ProductID")%>' Visible="false"></asp:TextBox>
                                                                <a href='IndexProductDetails.aspx?ProductID=<%#Eval("ProductID")%>'><%#Eval("ProductName")%></a>
                                                            </div>
                                                            <div id="prodgroupname2"></div>
                                                            <div class="ingress_shop"> <%#Eval("QuantityPerUnit")%></div>
                                                            <div class="ingress_shop">kr <%#Eval("Price")%></div>
                                                            <span style="color:#63676E; font-size:11px; "><br>(kr  <%#Eval("PricePerUnit")%>/<%#Eval("UnitsInStock")%>)</span></tr>
                                                            <tr>
                                                            <td colspan="2" height="35px">
                                                            <div style="margin-bottom:0px;margin-top:0px;border-top:1px solid #cccccc;margin-right:2px;margin-left:4px;">
                                                                <div style="padding-left:0px;float:left;width:34px;border:0px solid #000;margin-top:2px;padding-top:4px;"></div>
                                                                <div style="padding-top:4px;float:left;width:247px;text-align:right;padding-right:0px;">                                                                    
                                                                        <table cellpadding="0" cellspacing="0" border="0" width="100%">
                                                                            <tr>
                                                                                <td width="27px">
                                                                                    &nbsp;</td>                                                                                
                                                                                <td width="55px" valign="bottom" style="padding-left:3px;">
                                                                                    <asp:TextBox ID="txtquantity" runat="server" Width="30px" Text = "1"></asp:TextBox>
                                                                                </td>
                                                                                
                                                                                <td align="right">
                                                                                        <asp:ImageButton ID="ImagBuy" ImageUrl="~/Styles/buybtn.png" runat="server" 
                                                                                            CommandArgument='<%#Eval("ProductID") %>' onclick="ImagBuy_Click" />                                                                                        
                                                                                </td>
                                                                            </tr>
                                                                        </table>                                                                    
                                                                </div>
                                                            </div>
                                                            </div>
                                                           </td>
                                                           </tr>
                                                       </table>
                                        </td>
                                     </tr>                                     
                                </table>
                                        </ItemTemplate>
                                    </asp:DataList>
                                </td>
                            </tr>
                        </table>
                        </td>
                        </tr>
                </table>
                 </td>
		    </tr>
            <tr>
                <td></td>                               
                <td><img src="images/pixel.gif" height="1" width="5" alt=""></td>
                <td></td>
			</tr>
            <tr>
				<td></td>
                <td><img src="images/pixel.gif" width="1" height="20" alt=""></td>
                <td></td>
			</tr>
</table><eht:paggingcontrol ID="PaggingControl1" runat="server" PageURL="IndexResult.aspx"
            PageSize="20" />
<p>
        
    </p>
			
</asp:Content>
